package com.cly.api.clients;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

@FeignClient("order-service")
public interface OrderClient {

    @PutMapping("/order/status/{orderId}/{status}")
    void updateOrderStatus(@PathVariable Long orderId, @PathVariable Integer status);
}
